package com.elink.enginerring.common;

import com.elink.enginerring.util.ConfigUtil;


/**
 * 常量类
 * @author hxjxiaojun
 *
 */
public class Constant {
	public static final String ENCODING              = "UTF-8";                 //项目通用编码
	public static final String DATE_FORMAT           = "yyyy-MM-dd HH:mm:ss";   //通用时间格式
	public static final String DATE_FORMAT_YEAR      = "yyyy-MM-dd";            //通用时间格式
	
	public static final String COIN_MD5_SECRET_KEY   = "yarun_secret_key";      //coin_md5验证所需的密钥
	
	public static final String WEB_SERVER_URL              = "http://"+ConfigUtil.getValue("web_server_ip"); //Apache或nginx的路径
	public static final String WEB_SERVER_PATH             = ConfigUtil.getValue("web_server_path");
	public static final String DOWNLOAD_URL                = ConfigUtil.getValue("download_url");
	
	// 用户类别 1企业 非1或2 用户
	public static final int personUserType = 1;
	public static final int companyUserType = 2;
	
}
